# row = 1
#
# while row < 6:
#     print("*" * row, end="")
#     row += 1
#
# print()
# print("*")

row = 1
while row < 6:
    col = 1
    while row >= col:
        col += 1
        print("*", end="")
    print("")
    row += 1
